package com.lagou.registry;

/**
 * Rpc消费者服务器信息
 */
public class RpcConsumerNode extends ServerNode{

    //构建服务器节点
    public static RpcConsumerNode build(String ip,int port,String app) {
        RpcConsumerNode node = new RpcConsumerNode();
        node.setIp(ip);
        node.setPort(port);
        node.setAppName(app);
        return node;
    }
}
